package com.guli.mall.feign;
/*
 * @Author 罗
 * @date 2020/10/16 - 4:47 下午
 */

import com.guli.common.utils.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
@FeignClient(name="product-service")
public interface ProductServiceFeignClient {

    @PostMapping("/pms/brand/getBrandListByCategoryIdList")
    @ApiOperation("根据categoryIdList来获取BrandIdList")
    public R getBrandListByCategoryIdList(@RequestBody List<Long> categoryIdList);
}
